home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!news
- From: miker3@ix.netcom.com (Mike Rubenstein)
- Newsgroups: comp.lang.java,comp.lang.c++
- Subject: Re: Will Java kill C++?
- Date: Fri, 19 Apr 1996 13:58:44 GMT
- Organization: Netcom
- Message-ID: <31779b60.142180194@nntp.ix.netcom.com>
- References: <31682FFE.2781E494@bbn.com> <DpJyGG.FKK@hkuxb.hku.hk> <CGAY.96Apr18180018@suffix.cs.uoregon.edu>
- NNTP-Posting-Host: ix-dc14-19.ix.netcom.com
- X-NETCOM-Date: Fri Apr 19 9:01:42 AM CDT 1996
- X-Newsreader: Forte Agent .99d/32.182
-
- cgay@suffix.cs.uoregon.edu (Carl L. Gay) wrote:
- > Joe Kraska (jkraska@bbn.com) wrote:
- [...]
- > >My first question was 'show me how to allocate an array of pointers to
- > >strings'. His response was, 'huh?'.
- >
- > His first response should have been: "C doesn't have strings."
-
- Why should he have given an incorrect answer like that? From ISO
- 7.1.1:
-
- A string is a contiguous sequence of characters terminated by
- and including the first null character. A "pointer to" a
- string is a pointer to its initial (lowest addressed)
- character.
-
- Michael M Rubenstein
-